<template>
	<view>
		<view class="list" v-for="(item,index) in 3" :key="index">
			<view class="image">
				<image src="../../static/black.jpg" mode=""></image>
			</view>
			<view class="right">
				<view class="top">
					<view class="tops">
						<view class="">
							门福通的店
						</view>
						<view class="image">
							<image src="../../static/xiyoujiantou.png" mode=""></image>
						</view>
					</view>
					<view class="toright">交易完成</view>
				</view>
				<view class="center">
					<view>推拿按摩</view>
					<view class="price">￥500</view>
				</view>
				<view class="bottom">
					<view class="time">
						2021-03-23 11:00
					</view>
					<view class="button" @click="evaluate">
						评价
					</view>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			// 评价
			evaluate(){
				uni.navigateTo({
					url:"../publishComments/publishComments"
				})
			},
		}
	}
</script>

<style lang="scss">
image{
	width: 100%;
	height: 100%;
}
.list{
	padding: 20rpx;
	border: 1rpx solid #ECECEC;
	display: flex;
	justify-content: space-between;
	.image{
		width: 130rpx;
		height: 130rpx;
		image{
			border-radius: 10rpx;
		}
	}
	.right{
		flex: 0 0 80%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		.top{
			display: flex;
			align-items: center;
			justify-content: space-between;
			.tops{
				display: flex;
				align-items: center;
			}
			.image{
				width: 30rpx;
				height: 30rpx;
			}
			.toright{
				color: #f49c1c;
				font-size: 26rpx;
			}
		}
		.center{
			display: flex;
			align-items: center;
			justify-content: space-between;
			font-size: 24rpx;
			color: #636363;
			.price{
				color: rgba(0, 0, 0, 0.85);
			}
		}
		.bottom{
			display: flex;
			align-items: center;
			justify-content: space-between;
			.time{
				color: #a6a097;
				font-size: 20rpx;
			}
			.button{
				background-color: #f49c1c;
				color: #FFFFFF;
				width: 100rpx;
				height: 40rpx;
				border-radius: 50rpx;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}
	}
}
</style>
